import Highlight from "react-highlight.js";
import "highlight.js/styles/atom-one-dark.css";

// 在组件中使用
const HightLightCode = ({ code }: { code: string }) => {
	return <Highlight language="tsx">{code}</Highlight>;
};

export default HightLightCode;
